from django.conf.urls import url
from . import views


urlpatterns = [
    url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qqlogin'),
    url(r'^oauth_callback$', views.QQAuthUserView.as_view(), name='oauth_callback'),
    url(r'^sina/login/$', views.SinaAuthLoginView.as_view(), name='sinalogin'),
    url(r'^sina_callback/$', views.SinaCallbackView.as_view(), name='sina_callback'),
    url(r'^oauth/sina/user/$', views.SinaUserView.as_view(), name='sina_user'),
]
